package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 软件对象 t_software
 * 
 * @author ruoyi
 * @date 2020-04-17
 */
public class TSoftware extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 软件名称 */
    @Excel(name = "软件名称")
    private String softwareName;

    /** 授权日 */
    @Excel(name = "授权日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date grantDate;

    /** 完成人 */
    @Excel(name = "完成人")
    private String mainCompletedMan;

    /** 著作权人 */
    @Excel(name = "著作权人")
    private String copyrightOwner;

    /** 著作权登记号 */
    @Excel(name = "著作权登记号")
    private String copyrightNo;

    /** 我院排序 */
    @Excel(name = "我院排序")
    private String ownSort;

    /** 单位id */
    @Excel(name = "单位id")
    private Long reportUnitId;

    /** 申报单位 */
    @Excel(name = "申报单位")
    private String reportUnit;

    /** 申报时间 */
    @Excel(name = "申报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /** 科室 */
    @Excel(name = "科室")
    private Long departmentId;

    /** 科室 */
    @Excel(name = "科室")
    private String department;

    /** 是否属于创新激励奖 */
    @Excel(name = "是否属于创新激励奖")
    private Integer isInnovate;

    /** 协议类型（纵向、横向） */
    @Excel(name = "协议类型", readConverterExp = "纵=向、横向")
    private Integer protocolType;

    /** 协议类型描述 */
    @Excel(name = "协议类型描述")
    private String protocolTypeDesp;

    /** 文档类型 */
    @Excel(name = "文档类型")
    private Long docType;

    /** 是否包含附件 */
    @Excel(name = "是否包含附件")
    private Long hasAppendix;

    /** 审核状态   1未审核，2审核中，3审核通过 */
    @Excel(name = "审核状态   1未审核，2审核中，3审核通过")
    private Integer auditState;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSoftwareName(String softwareName) 
    {
        this.softwareName = softwareName;
    }

    public String getSoftwareName() 
    {
        return softwareName;
    }
    public void setGrantDate(Date grantDate) 
    {
        this.grantDate = grantDate;
    }

    public Date getGrantDate() 
    {
        return grantDate;
    }
    public void setMainCompletedMan(String mainCompletedMan) 
    {
        this.mainCompletedMan = mainCompletedMan;
    }

    public String getMainCompletedMan() 
    {
        return mainCompletedMan;
    }
    public void setCopyrightOwner(String copyrightOwner) 
    {
        this.copyrightOwner = copyrightOwner;
    }

    public String getCopyrightOwner() 
    {
        return copyrightOwner;
    }
    public void setCopyrightNo(String copyrightNo) 
    {
        this.copyrightNo = copyrightNo;
    }

    public String getCopyrightNo() 
    {
        return copyrightNo;
    }
    public void setOwnSort(String ownSort) 
    {
        this.ownSort = ownSort;
    }

    public String getOwnSort() 
    {
        return ownSort;
    }
    public void setReportUnitId(Long reportUnitId) 
    {
        this.reportUnitId = reportUnitId;
    }

    public Long getReportUnitId() 
    {
        return reportUnitId;
    }
    public void setReportUnit(String reportUnit) 
    {
        this.reportUnit = reportUnit;
    }

    public String getReportUnit() 
    {
        return reportUnit;
    }
    public void setReportTime(Date reportTime) 
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime() 
    {
        return reportTime;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setIsInnovate(Integer isInnovate) 
    {
        this.isInnovate = isInnovate;
    }

    public Integer getIsInnovate() 
    {
        return isInnovate;
    }
    public void setProtocolType(Integer protocolType) 
    {
        this.protocolType = protocolType;
    }

    public Integer getProtocolType() 
    {
        return protocolType;
    }
    public void setProtocolTypeDesp(String protocolTypeDesp) 
    {
        this.protocolTypeDesp = protocolTypeDesp;
    }

    public String getProtocolTypeDesp() 
    {
        return protocolTypeDesp;
    }
    public void setDocType(Long docType) 
    {
        this.docType = docType;
    }

    public Long getDocType() 
    {
        return docType;
    }
    public void setHasAppendix(Long hasAppendix) 
    {
        this.hasAppendix = hasAppendix;
    }

    public Long getHasAppendix() 
    {
        return hasAppendix;
    }
    public void setAuditState(Integer auditState) 
    {
        this.auditState = auditState;
    }

    public Integer getAuditState() 
    {
        return auditState;
    }
    public void setGmtTime(Date gmtTime) 
    {
        this.gmtTime = gmtTime;
    }

    public Date getGmtTime() 
    {
        return gmtTime;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("softwareName", getSoftwareName())
            .append("grantDate", getGrantDate())
            .append("mainCompletedMan", getMainCompletedMan())
            .append("copyrightOwner", getCopyrightOwner())
            .append("copyrightNo", getCopyrightNo())
            .append("ownSort", getOwnSort())
            .append("reportUnitId", getReportUnitId())
            .append("reportUnit", getReportUnit())
            .append("reportTime", getReportTime())
            .append("departmentId", getDepartmentId())
            .append("department", getDepartment())
            .append("isInnovate", getIsInnovate())
            .append("protocolType", getProtocolType())
            .append("protocolTypeDesp", getProtocolTypeDesp())
            .append("docType", getDocType())
            .append("hasAppendix", getHasAppendix())
            .append("remark", getRemark())
            .append("auditState", getAuditState())
            .append("gmtTime", getGmtTime())
            .append("creator", getCreator())
            .toString();
    }
}
